
cmake_minimum_required(VERSION 3.4.1)

#包含头文件
include_directories(src/main/cpp/include)

add_library(bobo SHARED src/main/cpp/bobo.c)

add_library(white-lib SHARED IMPORTED)
set_target_properties(white-lib PROPERTIES IMPORTED_LOCATION ${CMAKE_SOURCE_DIR}/src/main/jniLibs/${ANDROID_ABI}/libwhite.so)
#target_include_directories(bobo PRIVATE src/main/cpp/include)

find_library(log-lib log)

target_link_libraries(bobo ${log-lib} white-lib)